package com.yaodian100.ec.member.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_MEMBER_BLACK_BOOK")
public class BlackBook extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1243216937705626846L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_ec_member_black_book")
	@SequenceGenerator(name = "seq_ec_member_black_book", sequenceName = "SEQ_EC_MEMBER_BLACK_BOOK")
	@Column(name = "ID")
	private int id;

	@Column(name = "MEMBER_ID", nullable = false, length = 10)
	private String memberId;

	@Column(name = "BLOCK_STATUS", nullable = false, length = 1)
	private String blockStatus;

	@Column(name = "BLOCK_REASON", nullable = true, length = 2)
	private String blockReason;

	@Column(name = "BLOCK_REASON_DESC", nullable = true, length = 50)
	private String blockReasonDesc;

	@Column(name = "UNBLOCK_REASON", nullable = true, length = 2)
	private String unblockReason;

	@Column(name = "UNBLOCK_REASON_DESC", nullable = true, length = 50)
	private String unblockReasonDesc;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getBlockStatus() {
		return blockStatus;
	}

	public void setBlockStatus(String blockStatus) {
		this.blockStatus = blockStatus;
	}

	public String getBlockReason() {
		return this.blockReason;
	}
	public void setBlockReason(String blockReason) {
		this.blockReason = blockReason;
	}

	public String getBlockReasonDesc() {
		return this.blockReasonDesc;
	}
	public void setBlockReasonDesc(String blockReasonDesc) {
		this.blockReasonDesc = blockReasonDesc;
	}

	public String getUnblockReason() {
		return this.unblockReason;
	}
	public void setUnblockReason(String unblockReason) {
		this.unblockReason = unblockReason;
	}

	public String getUnblockReasonDesc() {
		return this.unblockReasonDesc;
	}
	public void setUnblockReasonDesc(String unblockReasonDesc) {
		this.unblockReasonDesc = unblockReasonDesc;
	}

}
